package cn.lidongyu.org.service;

import cn.lidongyu.basic.PageList;
import cn.lidongyu.org.domain.Employee;
import cn.lidongyu.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {
    List<Employee> findAll();


    Employee findOne(Long id);

    void add(Employee employee);


    void delete(Long id);

    void update(Employee employee);


    Long findCount(EmployeeQuery employeeQuery);

    PageList<Employee> findByQuery(EmployeeQuery employeeQuery);
    void deletemore(List<Long> ids);
}
